package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.TeachplanMediaDTO;
import com.xuecheng.api.content.model.vo.TeachplanMediaVO;
import com.xuecheng.common.domain.response.RestResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "课程信息与媒资信息绑定相关API")
public interface TeachplanMediaApi {

    @ApiOperation("根据媒资信息ID查询媒资信息是否绑定了课程计划")
    RestResponse<Integer> queryTeachPlanMedia(Long mediaId);

    @ApiOperation("课程计划绑定媒资信息")
    TeachplanMediaDTO getTeachPlanMediaDTO(TeachplanMediaVO teachMediaVO);
}
